<div class="funcarea">
	<label>参数名</label>
	<select id="searchCondition">
	<option value="deployId">发布ID</option>
	
					<option value="level">等级</option>	
			
			
			
					<option value="min">最大值</option>	
			
					<option value="max">最小值</option>	
				</select>
	<label>参数值</label>
	<input type="text" id="searchValue"/>
	<a href="javascript:void(0)" onclick="searchitem_extra_prop()">查询</a>
	<a href="javascript:void(0)" onclick="document.location.reload()">刷新</a>
	<a href="javascript:void(0)" onclick="promptAdd()">增加</a>
	<a href="javascript:void(0)" onclick="promptExport()">导出</a>
	<a href="javascript:void(0)" onclick="extract()">转换物品附加属性数据</a>
	<a href="javascript:void(0)" onclick="publish()">发布物品附加属性</a>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
<div class="dataarea">
	<table>
		<thead>
			<tr>
			<th nowrap>发布ID</th>
			
				<th nowrap>等级</th>
			
				<th nowrap>属性类型</th>
			
				<th nowrap>值类型</th>
			
				<th nowrap>最大值</th>
			
				<th nowrap>最小值</th>
							<th nowrap class="operator">----------操作---------</th>
			</tr>
		</thead>
		<tbody>
		{% for item_extra_prop in item_extra_props %}
			<tr id="row_{{ item_extra_prop.id }}">
				<td><a href="javascript:void(0)" onclick="promptMenu({{ item_extra_prop.id }})">{{ item_extra_prop.deployId }}</a></td>
				
					
						<td>{{ item_extra_prop.level }}</td>
									
											<td>
							<select disabled>
																
									<option value="0" {% ifequal 0 item_extra_prop.property %}selected="selected"{% endifequal %}>无</option>
								
									<option value="1" {% ifequal 1 item_extra_prop.property %}selected="selected"{% endifequal %}>血</option>
								
									<option value="2" {% ifequal 2 item_extra_prop.property %}selected="selected"{% endifequal %}>攻击</option>
								
									<option value="3" {% ifequal 3 item_extra_prop.property %}selected="selected"{% endifequal %}>防御</option>
								
									<option value="4" {% ifequal 4 item_extra_prop.property %}selected="selected"{% endifequal %}>重击</option>
								
									<option value="5" {% ifequal 5 item_extra_prop.property %}selected="selected"{% endifequal %}>爆击</option>
								
									<option value="6" {% ifequal 6 item_extra_prop.property %}selected="selected"{% endifequal %}>伤害减免值</option>
								
									<option value="7" {% ifequal 7 item_extra_prop.property %}selected="selected"{% endifequal %}>伤害增加值</option>
								
									<option value="8" {% ifequal 8 item_extra_prop.property %}selected="selected"{% endifequal %}>伤害减免百分比</option>
								
									<option value="9" {% ifequal 9 item_extra_prop.property %}selected="selected"{% endifequal %}>伤害增加百分比</option>
								
									<option value="10" {% ifequal 10 item_extra_prop.property %}selected="selected"{% endifequal %}>精力值</option>
															</select>
						</td>
									
											<td>
							<select disabled>
																
									<option value="0" {% ifequal 0 item_extra_prop.valueType %}selected="selected"{% endifequal %}>数值</option>
								
									<option value="1" {% ifequal 1 item_extra_prop.valueType %}selected="selected"{% endifequal %}>百分比</option>
															</select>
						</td>
									
					
						<td>{{ item_extra_prop.min }}</td>
									
					
						<td>{{ item_extra_prop.max }}</td>
													<td class="operator">
					<a href="javascript:edititem_extra_prop({{ item_extra_prop.id }})">编辑</a>
					<a href="javascript:removeitem_extra_prop({{ item_extra_prop.id }})">删除</a>
					<a href="javascript:showitem_extra_prop({{ item_extra_prop.id }})">显示JSON</a>
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
